// <copyright file="ColorPickerButton.ascx.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System;

namespace YUIAspNetDemo.Button.UserControls
{
    public partial class ColorPickerButton :BaseUC
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public override YUIAspNet.Button Button
        {
            get
            {
                return cpBtn;
            }
        }

        public string OnColorChange
        {
            set { CurrentColorPicker.OnClientChange = value; }
        }

        public YUIAspNet.ColorPicker CurrentColorPicker
        {
            get { return cpBtn.FindControl("cp") as YUIAspNet.ColorPicker; }
        }
    }
}